<template>
  <Category></Category>
  <el-card>
    <el-button type="primary" icon="Plus" :disabled="categoryStore.c3Id">
      添加SPU
    </el-button>
    <el-table style="width: 100; margin: 10px 0" border>
      <el-table-column label="序号" width="80px"></el-table-column>
      <el-table-column label="SPU名称"></el-table-column>
      <el-table-column label="SPU描述"></el-table-column>
      <el-table-column label="SPU操作"></el-table-column>
    </el-table>
    <el-pagination
      v-model:current-page="currentPage"
      :page-sizes="[3, 5, 7, 9]"
      v-model:page-size="pageSize"
      layout="prev, pager, next, jumper,->,sizes,total"
      :total="200"
    ></el-pagination>
  </el-card>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import Category from '@/components/Category/index.vue'
import useCategoryStore from '../../../store/modules/category'
let categoryStore = useCategoryStore()
let currentPage = ref<number>(1)
let pageSize = ref<number>(3)
</script>

<style lang="scss"></style>
